 /* 
 * File:   cText.h
 * Author: josep
 *
 * Created on 4 / gener / 2011, 00:04
 */

#ifndef CTEXT_H
#define	CTEXT_H

#include "cPositionedObject.h"
#include "Globals.h"


class cPositionedMessage:public cPositionedObject {
public:
    cPositionedMessage();
    cPositionedMessage(const cPositionedMessage& orig);
    virtual ~cPositionedMessage();
    void SetSpacing(int spacing);
    int GetSpacing() const;
    void SetFont(void* font);
    void* GetFont() const;
    void SetMessage(const char* message);
    char* GetMessage();
    virtual void Draw();
    void SetColor(float colorR, float colorG, float colorB);
    const float* GetColor();
private:
    //stringstream messageStream;
    char* message;
    void *font;
    int spacing;
    float color[4];

};

#endif	/* CTEXT_H */

